package com.tzy.note.base.jvm;

import java.util.ArrayList;

/**
 * 堆测试
 */
public class HeapTest {
    byte a[] = new byte[1024*100]; //100kb

    public static void main(String[] args) throws InterruptedException {
        ArrayList<HeapTest> heapTests = new ArrayList<>();
        while (true){
            heapTests.add(new HeapTest());
            Thread.sleep(10);
        }
    }
}
